<?php

namespace app\model;

use \think\facade\Db;

class UserModel
{

    public static function info($param)
    {
        $where[] = [
            'status', '<', 3,
            'id', '=', $param['id'],
            'partner_id', '=', $param['partner_id']
        ];
        return Db::table('xl_cars')
            ->where([$where])
            ->find();
    }


}
